<template>
  <div>
    <div class="title1">
      <div class="left">
        <img @click="btnfanhui" src="../assets/img/fanhui.png" alt="" />
      </div>
      <div class="centen">个人信息</div>
      <div class="right"></div>
    </div>
    <div class="name">
      <div class="banben">
        <van-cell-group>
          <van-cell title="当前版本" size="18px" v-model="arr.versions" />
        </van-cell-group>
      </div>
      <div class="list">
        <p>版本信息</p>
        <span class="ccccc">{{ arr.infomation }}</span>
      </div>
    </div>
  </div>
</template>
 
<script>
import { VersionApi } from "../request/api";
export default {
  data() {
    return {
      arr: {},
    };
  },
  created() {
    VersionApi().then((res) => {
      this.arr = res.data;
      console.log(this.arr);
    });
  },
  methods: {
    btnfanhui() {
      this.$router.push("/userinterface");
    },
  },
};
</script>
 
<style lang = "less" scoped>
.title1 {
  width: 100%;
  height: 60px;
  background-color: #003399;
  display: flex;
  justify-content: space-between;
  line-height: 70px;
  color: #fff;
  font-size: 20px;

  img {
    width: 10px;
    font-size: 24px;
    padding-left: 20px;
    padding-right: 10px;
    height: 20px;
  }
}
.banben {
  padding-left: 5px;
  font-size: 14px;
}
.list {
  margin-left: 20px;
}

.ccccc {
  display: block;
  margin-top: 10px;
  color: #ccc;
}
.van-cell {
  font-size: 16px;
}
</style>